package com.zl.easybuy.mapper;

import com.zl.easybuy.bo.NewsBo;
import com.zl.easybuy.pojo.News;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NewsMapper {
    List<News> findNews(@Param("newsBo") NewsBo newsBo);
    Integer count();
    News findNewById(Integer id);
}
